package com.xca.znb.model.impl;

import android.content.Context;

import com.xca.znb.database.UserDAO;
import com.xca.znb.model.imodel.IProcurement;

public class ProcurementImpl implements IProcurement {
    private UserDAO userDAO ;
    public ProcurementImpl(Context context){userDAO = new UserDAO(context) ;}
    @Override
    public boolean addPublish(String type, String variety, String need, String unit , String origin, String cycle, String delivery, String text, String phone) {
        return userDAO.addProcurement(type,variety,need,unit,origin,cycle,delivery,text,phone);
    }
}
